<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=no"/>
    <link rel="stylesheet" href="__CSS__/common.css" />
    <link rel="stylesheet" href="__CSS__/myself.css" />
    <title>我的资料</title>
</head>
<body>
    <div class="msg-title">
        <p>
            <img src="{$user.head_pic}" alt="{$user.nickname}">
            {$user.nickname}
        </p>
        <a href="{:url('user/profile')}">
            <img src="__IMG__/right.png" alt="">
        </a>
    </div>
    <div class="msg-box">
        {if condition="$user.mobile_validated==0"}
        <p class="msg-item">
            手机号
            <a href="{:url('user/bindmobile')}">绑定手机号 <img src="__IMG__/right.png" alt=""></a>
        </p>
        {/if}
        {if condition="$user.mobile_validated!=0"}
        <p class="msg-item">
            VIP等级
            <a href="{:url('user/myVip')}">LV{$user.level}{$user.level_tag} <img src="__IMG__/right.png" alt=""></a>
        </p>
        {/if}
        <p class="msg-item">
            推荐扫码
            <a href="{:url('user/myQrcode')}"> <img src="__IMG__/right.png" alt=""></a>
        </p>
        <p class="msg-item">
            我的推荐码
            <span>{$user.recode}</span>
        </p>
    </div>
</body>
<script src="__JS__/jquery.min.js"></script>
<script src="__JS__/layer.js"></script>
</html>